<extend name="./public/operateMain.html" />
<block name="editArea">
<div class="panel panel-primary">
	<div class="panel-heading">
		<span class="glyphicon glyphicon-th-list">&nbsp;</span>
		<b>进展</b>
		<a href="{:U('CustInfo/custInfo')}">
			<span class="glyphicon glyphicon-remove"
				style="float: right; color: white"></span>
		</a>
	</div>
	<form method="post" action="{:U('CustInfo/progress')}">
		<input type="hidden" name="id" value="{$Rs.id}">
		<table class="table table-condensed table-hover">
			<tr>
				<td>
					<label for='jcid_input' class='control-label x85'>客户ID:</label>
					<input type='text' id='jcid' name='jcid' size='20'
						value='{$Rs.jcid}'>
				</td>
			</tr>
			<tr>
				<td>
					<label for='jcname_input' class='control-label x85'>客户名称:</label>
					<input type='text' id='jcname' name='jcname' size='20'
						value='{$Rs.jcname}'>
				</td>
				<td>
					<label for='type_input' class='control-label x85'>跟单方式:</label>
					<select name="type" data-toggle="selectpicker" class="show-tick">
						<option value="{$Rs.type}">{$Rs.type}</option>
						<option value="电话">电话</option>
						<option value="QQ">QQ</option>
						<option value="电子邮箱">电子邮箱</option>
						<option value="上门拜访">上门拜访</option>
					</select>
				</td>
			</tr>
			<tr>
				<td>
					<label for='fenlei_input' class='control-label x85'>进展阶段:</label>
					<select name="fenlei" data-toggle="selectpicker" class="show-tick">
						<option value="{$Rs.fenlei}">{$Rs.fenlei}</option>
						<option value="需求整理">需求整理</option>
						<option value="选择比较">选择比较</option>
						<option value="购买决定">购买决定</option>
						<option value="成交客户">成交客户</option>
						<option value="他人签单">他人签单</option>
					</select>
				</td>
				<td>
					<label for='xcrq_input' class='control-label x85'>下次联系:</label>
					<input type='text' data-toggle='datepicker' id='xcrq' name='xcrq'
						size='20' value='{$Rs.xcrq|substr=###,0,10}'>
				</td>
			</tr>
			<tr>
				<td colspan=2>
					<label style="vertical-align: middle;" for='title_input'>详情:</label>
					<textarea
						style="display: inline-block; height: 100%; vertical-align: middle;"
						name='value' cols='65' rows='5'>{$Rs.value}</textarea>
				</td>
			</tr>
		</table>
		<div class="row">
			<button type="submit"
				class="col-md-1 col-md-offset-8 btn btn-sm btn-primary"
				data-icon="save">保存</button>
			<a href="{:U('CustInfo/custInfo')}" type="button"
				class="col-md-1 col-md-offset-1 btn btn-sm btn-default"
				data-icon="close">取消</a>
		</div>
	</form>
	<br />
</div>
</block>